Groundhogg\Broadcast D

Total Complexity 135
Dependencies 14
Dependents 22
Total lines 926
Lines of code 470
Logical lines of code 271
Comment lines 251
Methods 46
Properties 3

Methods 46

Method Rating Maintainability Complexity Lines of code
enqueue_batch()
C
32 26 93
enqueue_batch_legacy()
C
34 25 85
run()
S
52 6 22
cancel()
S
51 5 29
get_report_data()
S
53 5 24
maybe_schedule_in_background()
S
57 4 17
maybe_set_status_to_sent()
S
60 4 14
post_setup()
S
61 4 13
get_items_remaining()
S
62 4 12
use_legacy_schedule()
S
71 4 5
transition_from_sending_to_sent()
S
62 3 12
is_schedulable()
S
75 3 4
get_title()
S
70 3 6
get_estimated_scheduling_time_remaining()
S
66 3 8
get_funnel_title()
S
69 2 7
update()
S
65 2 9
is_fully_sent()
S
79 2 3
is_transactional()
S
69 2 7
get_date_scheduled()
S
82 1 3
can_run()
S
82 1 3
clear_cached_report_data()
S
80 1 3
get_as_array()
S
68 1 7
count_pending_events()
S
66 1 8
has_pending_events()
S
66 1 8
get_funnel_id()
S
81 1 3
get_status()
S
82 1 3
get_object_type()
S
82 1 3
is_pending()
S
80 1 3
is_cancelled()
S
80 1 3
is_sent()
S
80 1 3
status_is()
S
80 1 3
is_sending()
S
80 1 3
get_db()
S
80 1 3
get_meta_db()
S
80 1 3
get_id()
S
80 1 3
get_step_title()
S
81 1 3
is_scheduled()
S
80 1 3
get_query()
S
82 1 3
get_broadcast_type()
S
82 1 3
get_object_id()
S
80 1 3
is_sms()
S
80 1 3
is_email()
S
80 1 3
get_object()
S
82 1 3
get_send_time()
S
80 1 3
get_scheduled_by_id()
S
80 1 3
get_percent_scheduled()
S
72 1 5